package student.aistar.day15.pool;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * 创建一个可重用固定个数的线程池, 一共享的无界的队列方式来运行这些线程
 */
public class FixedThreadPoolDemo {
    public static void main(String[] args) {
        //线程池中永远应该是重复使用3个线程
        ExecutorService executorService = Executors.newFixedThreadPool(3);
    }
}
